package code.example.base.util.concurrent.threadstate;

/**
 * java 没有Running状态
 */
public class Running {

    public void test(){

        long count = 0;
        for(;;){
            try {
                System.out.print("input data:");
                System.in.read();
            }catch (Exception e){}

            long value = count+1;
            count = value;
        }
    }
    public static void main(String args []){
        new Running().test();
    }
}
